aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snaps...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-26 21:16:03 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-26 21:16:03 +0100
commit90afeef2a50e017be593267c8420df410b2cef7f (patch)
tree6dfa4b73462d61c91ddd87bfa92243bfbbaef59b /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent70fec4f9190b98ea2f27ce9e3a1ff974c8072549 (diff)
Add WASM code gen for call instruction with no args
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected9
1 files changed, 6 insertions, 3 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 65cddd82..403f3c05 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -5,6 +5,9 @@ Section Details:
Type[1]:
- type[0] () -> nil
+Import[2]:
+ - table[0] type=funcref initial=0 <- env.__indirect_function_table
+ - memory[0] pages: initial=0 <- env.__linear_memory
Function[1]:
- func[0] sig=0 <f>
Code[1]:
@@ -19,6 +22,6 @@ Custom:
Code Disassembly:
-000026 func[0] <f>:
- 000027: 41 2a | i32.const 42
- 000029: 0b | end \ No newline at end of file
+000066 func[0] <f>:
+ 000067: 41 2a | i32.const 42
+ 000069: 0b | end \ No newline at end of file